package com.lanswon.dao;

import java.util.List;
import java.util.Map;

import com.lanswon.common.util.TreeNode;
import com.lanswon.entity.TypeManage;

public interface TypeManageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TypeManage record);

    int insertSelective(TypeManage record);

    TypeManage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TypeManage record);

    int updateByPrimaryKey(TypeManage record);

	List<TypeManage> selectTypeManageList();

	List<TypeManage> selectTypeConditionList();

	List<TypeManage> selectParentTypeList();

	List<TypeManage> selectTypePageList(Map<String, Object> map);

	Integer selectTypePageListCount(Map<String, Object> map);

	TypeManage selectTypeByName(String name);

}